Skip to content

docs: update incremental benchmarks (3.6.0)#714

Merged
carlos-alm merged 4 commits intomainfrom
benchmark/incremental-v3.6.0-20260330-164447
Mar 31, 2026
Merged

docs: update incremental benchmarks (3.6.0)#714
carlos-alm merged 4 commits intomainfrom
benchmark/incremental-v3.6.0-20260330-164447

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated incremental benchmark update for 3.6.0 from workflow run #538.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 30, 2026

Greptile Summary

This automated PR updates the incremental benchmark document for the 3.6.0 release, adding WASM-only results (514 files, 6.1 s full build, 545 ms 1-file rebuild, 3.0× import speedup ratio) and a blockquote note explaining that the native engine is absent due to a SQLITE_CORRUPT crash during the incremental rebuild tier (WAL corruption in detect-changespurgeAndAddReverseDeps).

Key changes:

  • Added 3.6.0 row (wasm only) to the summary table; resolve-column percentages (4ms ↓3%, 12ms ↑9%) compare against 3.5.0 import-resolution data, which is correct since 3.5.0 had no build metrics.
  • Replaced the "Latest results" section with 3.6.0 data, adding a new "#### WASM" build-metrics table.
  • Removed the previous <!-- NOTES_START --> … <!-- NOTES_END --> block that explained 3.5.0's dual-null engines; it is no longer needed now that 3.6.0 is the latest.
  • Prepended the 3.6.0 JSON entry (with \"native\": null) to the embedded <!-- INCREMENTAL_BENCHMARK_DATA array.
  • All figures in the markdown tables cross-check correctly against the embedded JSON (rounding 3.9 → 4 ms, 11.7 → 12 ms, etc.).
  • The prior review concern about the unexplained missing native row has been fully addressed by the blockquote note added in commit 839aa86.

Confidence Score: 5/5

Safe to merge — documentation-only change with no code modifications; all data is internally consistent and the previous review concern is resolved.

No P0 or P1 findings. Data in the markdown tables matches the embedded JSON (rounded values, percentage deltas computed against correct baseline versions), the native-absent note was explicitly requested and is now present, and the 3.5.0 notes block removal is appropriate since 3.6.0 is now the latest entry. No regressions or inconsistencies were found.

No files require special attention.

Important Files Changed

Filename Overview
generated/benchmarks/INCREMENTAL-BENCHMARKS.md Adds 3.6.0 benchmark entry (WASM-only, native null due to SQLITE_CORRUPT crash); updates summary table, "Latest results" section, and embedded JSON; removes outdated 3.5.0 notes block. Data is internally consistent.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Workflow run #538\nbenchmark script] -->|3.6.0 data| B{Engine result}
    B -->|WASM engine OK| C[WASM build metrics\nfull: 6.1s / noop: 13ms / 1-file: 545ms]
    B -->|Native engine CRASH\nSQLITE_CORRUPT in\ndetect-changes /\npurgeAndAddReverseDeps| D[native: null]
    C --> E[Import resolution\nboth engines ran OK\n904 pairs, native 4ms, JS 12ms]
    D --> E
    E --> F[Embedded JSON\nINCREMENTAL_BENCHMARK_DATA]
    F --> G[Summary table row\n3.6.0 wasm only]
    F --> H[Latest results section\n+blockquote note re: native crash]
    G --> I[INCREMENTAL-BENCHMARKS.md]
    H --> I
Loading

Reviews (3): Last reviewed commit: "Merge branch 'main' into benchmark/incre..." | Re-trigger Greptile


| Version | Engine | Files | Full Build | No-op | 1-File | Resolve (native) | Resolve (JS) |
|---------|--------|------:|-----------:|------:|-------:|------------------:|-------------:|
| 3.6.0 | wasm | 514 | 6.1s | 13ms | 545ms | 4ms ↓3% | 12ms ↑9% |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Missing native engine row with no explanation

3.6.0 has "native": null in the embedded JSON data, so only a wasm row appears in the summary table. For 3.5.0, the workflow generated a <!-- NOTES_START --> ... <!-- NOTES_END --> block explaining why both engines were null (napi-rs serialization bug, WAL race condition). That note has now been removed since 3.6.0 is the latest.

However, native was working in 3.4.1, and readers of this file have no indication of why the native engine is absent for 3.6.0. It may be worth adding a brief note in the "Latest results" section (or a comment in the JSON entry) explaining whether the native engine was intentionally skipped, failed during the benchmark run, or is being phased out.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. Added a blockquote note in the "Latest results" section explaining that the native engine crashed with SQLITE_CORRUPT during the incremental rebuild tier (WAL corruption in detect-changes / purgeAndAddReverseDeps). See 839aa86.

Native worker crashed with SQLITE_CORRUPT during incremental rebuild
(WAL corruption in detect-changes). Add a note so readers understand
why only the WASM row appears.
@carlos-alm
Copy link
Copy Markdown
Contributor

@greptileai review

@carlos-alm
Copy link
Copy Markdown
Contributor

@greptileai review

@carlos-alm carlos-alm merged commit 7a5aec2 into main Mar 31, 2026
12 checks passed
@carlos-alm carlos-alm deleted the benchmark/incremental-v3.6.0-20260330-164447 branch March 31, 2026 04:57
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant